#!/bin/bash

export docdir="../doc/developer_documentation"

if [ -d "$docdir/pdf" ]; then
    rm -rf $docdir/pdf
fi
mkdir $docdir/pdf

# make LaTeX doc
epydoc domain.py node.py element.py sp_constraint.py -o $docdir/pdf --pdf --graph all

if [ -d "$docdir/html" ]; then 
    rm -rf $docdir/html
fi 
mkdir $docdir/html

# make html doc
epydoc domain.py node.py element.py sp_constraint.py -o $docdir/html --graph all


